Class OrchestrationWarning
java.lang.Object
com.vasco.orchestration.client.errors.OrchestrationWarning
The
OrchestrationWarning class is the base class used for asynchronous warning management
in the Orchestration SDK.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn the exception attached to the warningintif the cause is not null and a InternalException we return the initial error code 0 otherwise.intreturn warning code attached to the warningvoidsetException(Throwable exception) set the exceptionvoidsetWarningCode(int warningCode) set the warning code
-
Constructor Details
-
OrchestrationWarning
Constructor- Parameters:
warningCode- warning code attached to the warningexception- exception returned during a flow execution
-
-
Method Details
-
getWarningCode
public int getWarningCode()return warning code attached to the warning- Returns:
- warning code
-
setWarningCode
public void setWarningCode(int warningCode) set the warning code- Parameters:
warningCode- warning code
-
getException
return the exception attached to the warning- Returns:
- exception
-
setException
set the exception- Parameters:
exception- exception
-
getInitialErrorCode
public int getInitialErrorCode()if the cause is not null and a InternalException we return the initial error code 0 otherwise.- Returns:
- the initial error code
-